package com.ittony.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ittony.model.system.SysMenu;
import com.ittony.vo.system.AssginMenuVo;
import com.ittony.vo.system.RouterVo;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> findNodes();

    void removeMenuById(Long id) throws Exception;

    List<SysMenu> findMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> findUserMenuListByUserId(Long userId) throws Exception;

    List<String> findUserPermsByUserId(Long userId);


}
